package com.chang.rentmall.daos;

import com.chang.rentmall.beans.AddressBean;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface AddressDao {
    public int addAddress (AddressBean addressBean);
    public List<AddressBean> getAddresses(@RequestParam("id") java.lang.Integer id);
    public AddressBean getAddressDetail(@RequestParam("id") java.lang.Integer id);
    public int updateAddress (AddressBean addressBean);
    public int deleteAddress (@RequestParam("id") java.lang.Integer id);
}
